package com.ruoyi.quartz.task;


import com.ruoyi.trade.service.KlineJobService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("klinehanler")
@Slf4j
public class Klinehanler {

	@Autowired
	private KlineJobService klineJobService;

	public void execute(String arg0)
	{
		log.info(">>>>>>>>>>>>>>>>>>>>>开始拉取{}K线数据>>>>>>>>>>>>>>>>>>>>>>>>>",arg0);
		klineJobService.SynchKline(arg0);
	}

}
